Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BrowZine covers: skip over default images. #4226

Merged
merged 4 commits into from
Feb 12, 2025

Conversation

demiankatz
Copy link
Member

Sometimes the BrowZine cover API returns a default image, which will prevent other cover providers from being chained together. This PR skips over default images so that VuFind can handle defaults on its end.

@demiankatz demiankatz added this to the 11.0 milestone Jan 31, 2025
Copy link
Member

@maccabeelevine maccabeelevine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works and is a very nice improvement, I have seen that fake journal cover so many times and although it confused me I never put together that it was a default. Better to let a backup source provide a real one.

I agree that the URL should be externalized in config, just in case.

@demiankatz
Copy link
Member Author

Thanks, @maccabeelevine, I've added the requested configurability.

Copy link
Member

@maccabeelevine maccabeelevine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@demiankatz demiankatz merged commit cea1bdf into vufind-org:dev Feb 12, 2025
6 checks passed
@demiankatz demiankatz deleted the ignore-browzine-default-cover branch February 12, 2025 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants